package com.aegis.manage.api.request;

import com.aegis.common.enums.CommonStatusValueEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author renogo
 * 
 * @Version 1.0
 * @Descritube
 */
@Data
public class AddRoleRequest implements Serializable {

    @ApiModelProperty(value = "角色名称", required = true)
    @NotBlank(message = "缺少角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色key", required = true)
    @NotBlank(message = "缺少角色key")
    private String roleKey;

    @ApiModelProperty(value = "排序")
    private Integer priority;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "角色状态，0正常，1停用")
    private CommonStatusValueEnum status;
}
